﻿using CommandLine;

namespace Quickly.Identity.Migrations
{
    public class MigrationOptions
    {
        //[Option('e', "environment", Required = false, HelpText = "环境")]
        //public string? Environment { get; set; }

        /// <summary>
        /// <see cref="Quickly.Identity.EntityFrameworkCore.Constants.SuppoertDatabaseTypes"/>
        /// </summary>
        [Option('d', "database", Required = true, HelpText = "default:sqlite, options:sqlite,postgres")]
        public string? Database { get; set; } = "sqlite";

        [Option('c', "connectionString", Required = true, HelpText = "连接字符串")]
        public string? ConnectionString { get; set; }
    }
}
